
var webpack = require('webpack');
var entry = [
    //'webpack-dev-server/client?http://localhost:3000',
    //'webpack/hot/only-dev-server',
    './public/static/trade/app.js'
];
module.exports = {
    entry: entry,
    output: {
        path: './public/dist',
        filename: 'bundle-[name].js',
        publicPath: './public/dist'
    },
    resolve: {
        modulesDirectories: ['', 'web_modules', 'node_modules']
    },
    module: {
        loaders: [
            {test: /\.js/, loader: 'react-hot!jsx-loader?harmony',exclude: /node_modules/}
        ]
    },
    plugins: [
        //new webpack.DefinePlugin({
        //    'process.env.NODE_ENV': JSON.stringify('development')
        //}),
        //new webpack.HotModuleReplacementdPlugin(),
        //new webpack.NoErrorsPlugin()
    ]
};